package demo6;

public class Text {
    public static void main(String[] args) throws CloneNotSupportedException {
        Person person = new Person("hhhh");
        Person person1 = (Person) person.clone();
        System.out.println(person);
        System.out.println(person1);

        person1.money.money = 90;

        System.out.println(person);
        System.out.println(person1);

    }
}
